const Mock = require("mockjs");

const data = Mock.mock({
  "tab|7": [
    {
      id: "@id",
      "title|+1": ["推荐", "本地", "新车", "原创", "视频看车", "导购", "SUV"],
      "list|50-100": [
        {
          id: "@id",
          "type|1": ["a", "b", "c"],
          "urls|3": ["@image(120x100, @color, img)"],
          desc: "@cword(10, 30)",
          auther: "@cname",
          "read|1000-10000": 1,
          date: "@date",
          "mess|2-10": [{
            "nickname": '@cname',
            "datetime": '@datetime',
            "avator": '@image(30x30, @color, avator)',
            "content": "@cword(20, 50)"
          }]
        },
      ],
    },
  ],
  "questions|4": [{
    "type|+1": ["学习能力", "社交是能力", "语言能力", "认知能力"],
    "id": '@id',
    "list|4-6": [{
      "title": '@cword(10, 20)',
      "anwer": ["是", '不确定', '不是'],
      "id": '@id'
    }]
  }]
});

module.exports = data